package com.dy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName:
 * @Author: 仄言in
 * @Desctiption: (描述)
 * @Date: 2021/4/8 13:41
 * @Version 1.0 (版本)
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = {"com.dy.service"})  //扫描FeignUserService的文件
public class Springcloudfeign8089Application {
    public static void main(String[] args) {
        SpringApplication.run(Springcloudfeign8089Application.class,args);
    }
}
